package edu.pku.sei.transformation.editor.controller.editparts.diagram;

import org.eclipse.gef.EditPolicy;

import edu.pku.sei.modeler.edit.parts.DiagramEditPart;
import edu.pku.sei.modeler.model.structure.MetaDiagram;
import edu.pku.sei.transformation.editor.controller.policies.TransformationEditorXYLayoutPolicy;
/**
 * @deprecated
 * @author fengchao
 *
 */
public class RuleStructureDiagramEditPart extends DiagramEditPart {

	public RuleStructureDiagramEditPart(MetaDiagram model) {
		super(model);
	}

	protected void createEditPolicies() {
		super.createEditPolicies();
		installEditPolicy(EditPolicy.LAYOUT_ROLE,
				new TransformationEditorXYLayoutPolicy());
	}

}
